package v1

import "github.com/gogf/gf/v2/frame/g"

type VCodeReq struct {
	g.Meta `path:"/user/img_code" method:"get" sm:"验证码" tags:"用户"`
}
type VCodeRes struct {
	Id  string `json:"vid"  dc:"返回验证码ID"`
	Img string `json:"img" dc:"返回base64图片"`
}

type VerifyVCodeReq struct {
	g.Meta `path:"/user/verify_code" method:"post" sm:"验证验证码" tags:"用户"`
	Id     string `json:"id" v:"required" dc:"验证码ID"`
	VCode  string `json:"vcode" v:"required" dc:"验证码"`
}
type VerifyVCodeRes struct {
	Code int    `json:"code" dc:"状态码"`
	Msg  string `json:"msg" dc:"结果提示信息"`
}
